﻿Public Class Profile
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        If Request.Params("Name") = User.Identity.Name Then
            Button1.Visible = True
            Response.Redirect("~/Account/EditProfile.aspx?Name=" & User.Identity.Name)
        Else
            Button1.Visible = False
        End If
    End Sub
End Class